﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace factoryPatternSample
{
    public class fruitShakeFactory
    {
        public fruitShake createFruitShake(string type)
        {
            fruitShake fs = null;

            if (type == "avocado")
                fs = new avocado();
            
            return fs;
        }

    }
}
